/*
 * @Author: hutong huareu980@163.com
 * @Date: 2023-11-20 09:45:33
 * @LastEditors: hutong huareu980@163.com
 * @LastEditTime: 2023-11-20 12:58:58
 * @FilePath: /smart-web-app/ecosystem.config.js
 * @Description:
 */
module.exports = {
  apps: [
    {
      name: "XLMCAPP", // 设置启动项目名称
      exec_mode: "cluster",
      instances: "max",
      // 注意这里的相对路径。要访问到index.mjs就行了，如果你是整个.output一起放在服务器的话就和官方一样路写成./.output/server/index.mjs就好了
      script: "./server/index.mjs",
      env: {
        PORT: 6666,
        NODE_ENV: "development",
      },
    },
  ],
};
